<?php
/**
 * Created by IntelliJ IDEA.
 * User: dhy
 * Date: 2015/9/11
 * Time: 14:24
 */
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class UserTableSeeder extends Seeder{

    public function run(){
        DB::table('users')->insert(
            array(
                'name' => 'Ash Ketchum',
                'age' => 10
            )
        );

        DB::table('users')->insert(
            array(
                'name' => 'Brock',
                'age' => 15
            )
        );

        DB::table('users')->insert(
            array(
                'name' => 'Misty',
                'age' => 12
            )
        );
    }
}